package org.luckyjourney.mapper.agent;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.luckyjourney.entity.agent.AgentChat;

/**
* @author 86155
* @description 针对表【agent_chat(3智能体对话表)】的数据库操作Mapper
* @createDate 2024-03-21 17:00:29
* @Entity generator.entity.AgentChat
*/
@Mapper
public interface AgentChatMapper extends BaseMapper<AgentChat> {

    @Update("update agent_chat set audio_link = #{resultPath} where chat_id = #{chatId}")
    void saveOrUpdates(String resultPath, int chatId);
}




